package com.jnmd.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jnmd.mapper.AdminMapper;
import com.jnmd.pojo.Admin;
import com.jnmd.service.AdminService;

@Service
public class AdminServiceImpl implements AdminService{
	
	
	@Autowired
	private AdminMapper adminMapper;
	/**
	 * 
	 * @throws Exception 
	 */
	public List<Admin> queryAdmin(Admin admin){
		return adminMapper.findAdmin(admin);
	}
}
